package com.stackexchange.webapis
{
	import com.stackexchange.webapis.enums.PostType;

	public class Comment
	{
		/**
		 * id of the comment
		 **/
		public var commentId:int;
		
		/**
		 * creation date of the comment
		 **/
		public var creationDate:Date;
		
		/**
		 * owner of the comment
		 **/
		public var owner:User;
		
		/**
		 * reply to the user
		 **/
		public var replyToUser:User;
		
		/**
		 * post this comment is on
		 **/
		public var postId:int;
		
		/**
		 * type of post this comment is on; one of question or answer
		 **/
		public var postType:PostType;
		
		/**
		 * number of upvotes on this comment
		 **/
		public var score:int;
		
		/**
		 * number of times this comment has been edited
		 **/
		public var editCount:int;
		
		/**
		 * body of the comment, rendered as HTML
		 **/
		public var body:String;
	}
}